package com.scoressystem.utils;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Results<T> {
    private String code;
    private String msg;
    private T data;
    private Long count;

    public Results(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
    public Results(String code, String msg, T data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }
}
